package com.ping.controller;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;
import com.ping.model.Market;


public class MarketController extends BaseController{
	public void markets(){
		if (!checkQuery()) {
			return ;
		}
		
		List<Record> records = Db.find(Market.SQL_GET_ALL_MARKETS);
		renderResult(records, true);
	}
	
	public void getMarketInfo(){
		
	}
	
	public void getNearestMarket(){
		
	}
}
